<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>常用元素 | 拼命赶进度</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="gitbook/style.css">
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-ace/ace.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
    

        
    
    
    <link rel="next" href="./图片音频视频.html" />
    
    
    <link rel="prev" href="./html.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="1.1"
        data-chapter-title="常用元素"
        data-filepath="常用元素.md"
        data-basepath="."
        data-revision="Sun Sep 03 2017 23:30:11 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="./index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="html.html">
            
                
                    <a href="./html.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        HTML5
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.1" data-path="常用元素.html">
            
                
                    <a href="./常用元素.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        常用元素
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="图片音频视频.html">
            
                
                    <a href="./图片音频视频.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        图片音频视频
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="列表及表格.html">
            
                
                    <a href="./列表及表格.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        列表及表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="表单form元素.html">
            
                
                    <a href="./表单form元素.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        表单form元素
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="CSS.html">
            
                
                    <a href="./CSS.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        CSS
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="如何引入CSS.html">
            
                
                    <a href="./如何引入CSS.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        如何引入CSS
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="选择器.html">
            
                
                    <a href="./选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        选择器
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" data-path="通配选择符.html">
            
                
                    <a href="./通配选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.1.</b>
                        
                        通配选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="元素选择符.html">
            
                
                    <a href="./元素选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.2.</b>
                        
                        元素选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.3" data-path="id 及 class 选择符.html">
            
                
                    <a href="./id 及 class 选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.3.</b>
                        
                        id 及 class 选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.4" data-path="群组选择符.html">
            
                
                    <a href="./群组选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.4.</b>
                        
                        群组选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.5" data-path="关系选择符.html">
            
                
                    <a href="./关系选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.5.</b>
                        
                        关系选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.6" data-path="属性选择符.html">
            
                
                    <a href="./属性选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.6.</b>
                        
                        属性选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.7" data-path="伪类选择符.html">
            
                
                    <a href="./伪类选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.7.</b>
                        
                        伪类选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.8" data-path="伪对象选择符.html">
            
                
                    <a href="./伪对象选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.8.</b>
                        
                        伪对象选择符
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="CSS的常用样式.html">
            
                
                    <a href="./CSS的常用样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        CSS的常用样式
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="字体样式.html">
            
                
                    <a href="./字体样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.1.</b>
                        
                        字体样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="元素分类.html">
            
                
                    <a href="./元素分类.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.2.</b>
                        
                        元素样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="边框.html">
            
                
                    <a href="./边框.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.3.</b>
                        
                        边框样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.4" data-path="盒子模型.html">
            
                
                    <a href="./盒子模型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.4.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.5" data-path="段落样式.html">
            
                
                    <a href="./段落样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.5.</b>
                        
                        段落样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.6" data-path="背景样式.html">
            
                
                    <a href="./背景样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.6.</b>
                        
                        背景样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.7" data-path="列表样式.html">
            
                
                    <a href="./列表样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.7.</b>
                        
                        列表样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.8" data-path="变形样式.html">
            
                
                    <a href="./变形样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.8.</b>
                        
                        变形样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.9" data-path="过渡动画.html">
            
                
                    <a href="./过渡动画.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.9.</b>
                        
                        过渡动画
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.10" data-path="自定义动画.html">
            
                
                    <a href="./自定义动画.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.10.</b>
                        
                        自定义动画
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.11" data-path="布局.html">
            
                
                    <a href="./布局.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.11.</b>
                        
                        布局
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.12" data-path="视口.html">
            
                
                    <a href="./视口.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.12.</b>
                        
                        视口
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.13" data-path="CSS总结.html">
            
                
                    <a href="./CSS总结.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.13.</b>
                        
                        CSS总结
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="JavaScript.html">
            
                
                    <a href="./JavaScript.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        JavaScript
                    </a>
            
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="./" >拼命赶进度</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="&#x5E38;&#x7528;&#x5143;&#x7D20;">&#x5E38;&#x7528;&#x5143;&#x7D20;</h1>
<p>HTML &#x5143;&#x7D20;&#x6307;&#x7684;&#x662F;&#x4ECE;&#x5F00;&#x59CB;&#x6807;&#x7B7E;&#xFF08;start tag&#xFF09;&#x5230;&#x7ED3;&#x675F;&#x6807;&#x7B7E;&#xFF08;end tag&#xFF09;&#x7684;&#x6240;&#x6709;&#x4EE3;&#x7801;&#x3002;</p>
<p>&#x5927;&#x591A;&#x6570; HTML &#x5143;&#x7D20;&#x53EF;&#x4EE5;&#x5D4C;&#x5957;&#xFF08;&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x5176;&#x4ED6; HTML &#x5143;&#x7D20;&#xFF09;&#x3002;</p>
<ol>
<li><p>&#x6362;&#x884C;&#x7B26;<br><code>&lt;br/&gt;</code></p>
</li>
<li><p>&#x6BB5;&#x843D;  </p>
<pre><code>&lt;p&gt;&#x8FD9;&#x662F;&#x4E00;&#x4E2A;&#x6BB5;&#x843D;&#x6807;&#x7B7E;&lt;/p&gt;    
`align`&#x884C;&#x5BF9;&#x9F50;&#x65B9;&#x5F0F;(left,right,center)
</code></pre></li>
<li><p>&#x6807;&#x9898;<br>&#x6807;&#x9898;&#x5927;&#x5C0F;&#x968F;&#x6570;&#x5B57;&#x589E;&#x5927;&#x800C;&#x53D8;&#x5C0F;</p>
<pre><code>&lt;h1&gt;&#x6807;&#x9898;1&lt;/h1&gt;
&lt;h2&gt;&#x6807;&#x9898;2&lt;/h2&gt;
&lt;h3&gt;&#x6807;&#x9898;3&lt;/h3&gt;
&lt;h4&gt;&#x6807;&#x9898;4&lt;/h4&gt;
&lt;h5&gt;&#x6807;&#x9898;5&lt;/h5&gt;
&lt;h6&gt;&#x6807;&#x9898;6&lt;/h6&gt;
</code></pre></li>
<li><p>&#x6587;&#x672C;&#x683C;&#x5F0F;&#x5316;</p>
<pre><code>&lt;b&gt;&#x5B9A;&#x4E49;&#x7C97;&#x4F53;&#x6587;&#x672C;&lt;/b&gt;
&lt;em&gt;&#x5B9A;&#x4E49;&#x7740;&#x91CD;&#x6587;&#x5B57;&lt;/em&gt;
&lt;pre&gt;&#x5B9A;&#x4E49;&#x9884;&#x683C;&#x5F0F;&#x6587;&#x672C;&lt;/pre&gt;
&lt;mark&gt;&#x5B9A;&#x4E49;&#x8BB0;&#x53F7;&#x6587;&#x672C;&lt;/mark&gt;
&lt;u&gt;&#x5B9A;&#x4E49;&#x4E0B;&#x5212;&#x7EBF;&#x6587;&#x672C;&lt;/u&gt;
&lt;strong&gt;&#x5B9A;&#x4E49;&#x52A0;&#x91CD;&#x8BED;&#x6C14;&lt;/strong&gt;
&lt;i&gt; &#x5B9A;&#x4E49;&#x659C;&#x4F53;&#x6587;&#x672C; &lt;/i&gt;
&lt;del&gt;&#x5B9A;&#x4E49;&#x5220;&#x9664;&#x6587;&#x672C;&lt;/del&gt;
&lt;sup&gt;&#x5B9A;&#x4E49;&#x4E0A;&#x6807;&#x5B57;&lt;/sup&gt;
&lt;sub&gt;&#x5B9A;&#x4E49;&#x4E0B;&#x6807;&#x5B57;&lt;/sub&gt;
</code></pre></li>
<li><p>&#x94FE;&#x63A5;a&#x5143;&#x7D20;</p>
<pre><code>&lt;a href=&#x201C;URL&#x201D;&gt; ~ &lt;/a&gt;
&#x8BF4;&#x660E;&#xFF1A;
href        &#x5B9A;&#x4E49;&#x94FE;&#x63A5;&#x5730;&#x5740;
title        &#x94FE;&#x63A5;&#x63D0;&#x793A;&#x4FE1;&#x606F;
target        &#x94FE;&#x63A5;&#x6253;&#x5F00;&#x65B9;&#x5F0F;(_blank &#x65B0;&#x7684;&#x7A7A;&#x767D;&#x9875;,_self  &#x5F53;&#x524D;&#x9875;,_top)  
&#x5E38;&#x89C4;&#x5E94;&#x7528;&#xFF1A;
&lt;a href=&#x201C;http://www.163.com&#x201D;&gt;&#x5916;&#x90E8;&#x94FE;&#x63A5;&lt;/a&gt;
&lt;a href=&#x201C;about.html&#x201D;&gt;&#x5185;&#x90E8;&#x94FE;&#x63A5; &lt;/a&gt;
&#x5176;&#x4ED6;&#x5E94;&#x7528;&#xFF1A;
&lt;a href=&#x201C;mailto:&#x90AE;&#x7BB1;&#x5730;&#x5740;&#x201D;&gt;&#x90AE;&#x4EF6;&#x94FE;&#x63A5;&lt;/a&gt;
&lt;a href=&#x201C;tel:&#x7535;&#x8BDD;&#x53F7;&#x7801;&#x201D;&gt;&#x4E00;&#x952E;&#x62E8;&#x6253;&lt;/a&gt;
&lt;a href=&quot;sms:139xxxxxxx&quot;&gt;&#x4E00;&#x952E;&#x53D1;&#x9001;&#x77ED;&#x4FE1;&lt;/a&gt;
href&#x94FE;&#x63A5;&#x7684;&#x5730;&#x5740;&#x53EF;&#x4EE5;&#x662F;&#x7EDD;&#x5BF9;&#x5730;&#x5740;&#x4E5F;&#x53EF;&#x4EE5;&#x662F;&#x76F8;&#x5BF9;&#x5730;&#x5740;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x662F;&#x9875;&#x9762;&#x6587;&#x6863;&#x7684;&#x67D0;&#x4E2A;&#x90E8;&#x5206;
&#x7EDD;&#x5BF9;&#x5730;&#x5740;
&lt;a href=&#x201C;http://www.163.com&#x201D;&gt;&#x5916;&#x90E8;&#x94FE;&#x63A5;&lt;/a&gt;
&#x76F8;&#x5BF9;&#x5730;&#x5740;
&lt;a href=&#x201C;about.html&#x201D;&gt;&#x5185;&#x90E8;&#x94FE;&#x63A5; &lt;/a&gt;
&#x951A;&#x70B9;&#x2014;&#x2014;&#x2014;&#x2014;&#x2014;&#x2014;&#x9875;&#x9762;&#x6587;&#x6863;&#x7684;&#x67D0;&#x4E2A;&#x90E8;&#x5206;
&lt;a href=&#x201C;#bgg&#x201D;&gt;&#x5185;&#x90E8;&#x94FE;&#x63A5; &lt;/a&gt;
&lt;a name=&#x201C;bgg&#x201D;&gt;&#x5185;&#x90E8;&#x94FE;&#x63A5; &lt;/a&gt;&#x6216;&#x8005;&lt;a id=&#x201C;bgg&#x201D;&gt;&#x5185;&#x90E8;&#x94FE;&#x63A5; &lt;/a&gt;
&#x6CE8;&#x610F;id&#x662F;&#x552F;&#x4E00;&#x7684;&#x3002;
</code></pre></li>
</ol>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="./html.html" class="navigation navigation-prev " aria-label="Previous page: HTML5"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="./图片音频视频.html" class="navigation navigation-next " aria-label="Next page: 图片音频视频"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="gitbook/app.js"></script>

    
    <script src="gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-ace/ace/ace.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-ace/ace.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"expandable-chapters":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"ace":{},"mdinhtml":{},"highlight":{},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
